//
// Created by wkm on 2024-04-21.
//

#include "sbox_driver.h"

void sbox_driver::prc_sbox_driver() {
    d_addr1.write(0x01);
    d_addr2.write(0x06);
    d_addr3.write(0x09);
    d_addr4.write(0x2E);
    d_addr5.write(0x4E);
    d_addr6.write(0xFD);
    d_addr7.write(0xAA);
    d_addr8.write(0xC1);
    d_addr9.write(0x23);
    d_addr10.write(0x19);
    d_addr11.write(0x5E);
    d_addr12.write(0x6A);
    d_addr13.write(0x9B);
    d_addr14.write(0x0E);
    d_addr15.write(0xC2);
    d_addr16.write(0xD9);
    wait();
    d_en_read.write(true);
    wait();
    wait();
    wait();
    wait();
    wait();
    sc_stop();
}
